package com.modele.entity;


public class Restaurant{

	private TypeRestaurant typeRestaurant;
	private int id;
	private String nom;
	private String ville;
	private String num;
	private String rue;
	private String cp;
	private String description;
	private String tel;
	private String site;
	private String idTypeRestaurant;
	private int idCarte;
	
	public Restaurant(){
		
	}

	public Restaurant (String nom,TypeRestaurant type, String ville,String num,String rue,String cp,String description,String tel,String site) {
		this.nom = nom;
		this.typeRestaurant = type;
		this.ville = ville;
		this.num = num;
		this.rue = rue;
		this.cp = cp;
		this.description= description;
		this.tel= tel;
		this.site=site;
	}
	public int getIdCarte() {
		return idCarte;
	}

	public void setIdCarte(int idCarte) {
		this.idCarte = idCarte;
	}

	public Restaurant (int id,String nom,TypeRestaurant type, String ville,String num,String rue,String cp,String description,String tel,String site,int idcarte) {
		this.id=id;
		this.nom = nom;
		this.typeRestaurant = type;
		this.ville = ville;
		this.num = num;
		this.rue = rue;
		this.cp = cp;
		this.description= description;
		this.tel= tel;
		this.site=site;
		this.idCarte=idcarte;
	}
	public void setId(int id) {
		this.id = id;
	}
	public TypeRestaurant getTypeRestaurant() {
		return typeRestaurant;
	}
	public String getNomTypeRestaurant() {
		return typeRestaurant.getTypeResto();
	}
	public void setTypeRestaurant(TypeRestaurant typeRestaurant) {
		this.typeRestaurant = typeRestaurant;
	}
	public String getNom() {
		return nom;
	}
	public void setNom(String nom) {
		this.nom = nom;
	}
	public String getVille() {
		return ville;
	}
	public void setVille(String ville) {
		this.ville = ville;
	}
	public String getNum() {
		return num;
	}
	public void setNum(String num) {
		this.num = num;
	}
	public String getRue() {
		return rue;
	}
	public void setRue(String rue) {
		this.rue = rue;
	}
	public String getCp() {
		return cp;
	}
	public void setCp(String cp) {
		this.cp = cp;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public int getId() {
		return id;
	}

	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getSite() {
		return site;
	}
	public void setSite(String site) {
		this.site = site;
	}
	public void setIdTypeRestaurant(String idTypeRestaurant) {
		this.idTypeRestaurant = idTypeRestaurant;	
	}
	public String getIdTypeRestaurant() {
		return this.idTypeRestaurant;
	}
}
